package org.roy.uibase.event;

public class Event {
    public static final byte KEY_PRESSED = 0;
    public static final byte KEY_RELEASED = 1;
    public static final byte KEY_REPEATED = 2;
    public static final byte KEY_LONG_PRESSED = 3;

    public static final byte POINTER_PRESSED = 4;
    public static final byte POINTER_RELEASED = 5;
    public static final byte POINTER_DRAGGED = 6;
    public static final byte POINTER_LONG_PRESSED = 7;

    public static final byte ACTION = 8;
    public static final byte TIMER = 9;
    public static final byte PROGRESS = 10;
    public static final byte ERROR = 11;

    public static final byte USER_DEFINED = 100;
    
    private byte iEventType;
    
    private int iKeyCode;
    private int iX;
    private int iY;
    
    public Event(byte aEventType) {
        iEventType = aEventType;
    }
}
